<div class="block-info">
    <div class="head">
        <div class="title" style="color: {$diyitem['style']['ruletitlecolor']}">{php echo !empty($diyitem['params']['ruletitle'])?$diyitem['params']['ruletitle']:'兑换中心'}</div>
    </div>
    <div class="info">{php echo htmlspecialchars_decode($res['rule']);}</div>
</div>